#include<bits/stdc++.h>
using namespace std;
map<int,int> mp;
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    int n,k,mx=-1;
    cin>>n;
    while(n--) cin>>k,mp[k]++;
    for(auto &&i:mp) mx=max(mx,i.second);
    cout<<mx;
    return 0;
}